﻿using System;
using System.Collections.Generic;
using System.Data.Query;
using System.Linq;
using System.Text;
using System.Data.Linq;

namespace BemEstarEmprego.Entities
{
	class Program
	{
		static void Maint()
		{
			var usr = new Entities.bemestar_empregoEntities().usuario.FirstOrDefault(x => x.ID == 1);
			Console.WriteLine("Usuario: " + usr.LOGIN + Environment.NewLine +
							  "ID: " + usr.ID.ToString() + Environment.NewLine);

			var empresa = new Entities.bemestar_empregoEntities().empresa.ToList();
			//Console.WriteLine("Empresa: " + empresa.RAZAO_SOCIAL + Environment.NewLine +
			//                  "ID: " + empresa.ID.ToString());

			//DataContext db = new DataContext("Database=BEMESTAR_EMPREGO");
			//Table<_Entities.empresa> empresas = db.GetTable<_Entities.empresa>();



			Console.ReadKey();
		}
	}
}

